// import './assets/main.css'

import { createApp } from 'vue'
import App from './App.vue'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'

import router from './router/index.js'

const app = createApp(App)


// 注册Element Plus图标
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}

// 注意：不再需要全局挂载echarts实例
app.use(router).mount('#app')
